<template>
    <div>

        <!-- 分页专用 -->
        <van-pagination v-model="currentPage" :total-items="total" :items-per-page="page_size" @change="change" />
    </div>
</template>

<script>
    export default {
        name:'pages',
        props:['total',"page_size"],
        data() {
            return {
                currentPage:1,
                
            }
        },
        methods: {
            change(v){
                this.$emit('pagesize',v)
            }
        },
    }
</script>

<style scoped>

</style>